package com.leyou;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author xhh
 * @describe 描述
 * @date 2022/5/17
 */
@SpringBootApplication()
@EnableTransactionManagement
@EnableDiscoveryClient
@MapperScan("com.leyou.personnel.mapper")
@EnableAsync
public class BackStagePersonnel {
    public static void main(String[] args) {
        SpringApplication.run(BackStagePersonnel.class,args);
    }
}
